汇编指令的英文全称.docx

您所在的位置:网站首页 jz je指令 汇编指令的英文全称.docx

汇编指令的英文全称.docx

#汇编指令的英文全称.docx| 来源: 网络整理| 查看: 265

汇编指令的英文全称.docx

《汇编指令的英文全称.docx》由会员分享,可在线阅读,更多相关《汇编指令的英文全称.docx(8页珍藏版)》请在冰点文库上搜索。

汇编指令的英文全称.docx

汇编指令的英文全称

汇编指令的英文全称

汇编指令的英文全称

如果你想写系统软件,两本入门书籍--谭浩强的《C语言程序设计》和王爽的《汇编语言》是必看的。

谭老的C语言已相当成熟,王老师的汇编倒有个小缺陷—指令没有英文全称,或许他认为现在学编程的朋友都不记单词,如同新生代作家看不懂英文原著一般。

不过我觉得记住指令的英文全称,就不容易搞混,印象会更深刻,所以我把王爽书中出现的英文缩写的全称罗列出来,以便入门的朋友更好地记住它们。

8086CPU提供以下几大类指令。

一、数据传送指令

比如,mov(move)、push、pop、pushf(pushflags)、popf(popflags)、xchg(exchange)等都是数据传送指令,这些指令实现寄存器和内存、寄存器和寄存器之间的单个数据传送。

二、算术运算指令

比如,add、sub(substract)、adc(addwithcarry)、sbb(substractwithborrow)、inc(increase)、dec(decrease)、cmp(compare)、imul(integermultiplication)、idiv(integerdivide)、aaa(ASCIIaddwithadjust)等都是算术运算指令,这些指令实现寄存器和内存中的数据运算。

它们的执行结果影响标志寄存器的sf、zf、of、cf、pf、af位。

三、逻辑指令

比如,and、or、not、xor(exclusiveor)、test、shl(shiftlogicleft)、shr(shiftlogicright)、sal(shiftarithmeticleft)、sar(shiftarithmeticright)、rol(rotateleft)、ror(rotateright)、rcl(rotateleftthroughcarry)、rcr(rotaterightthroughcarry)等都是逻辑指令。

除了not指令外,它们的执行结果都影响标志寄存器的相关标志位。

四、转移指令

可以修改IP,或同时修改CS和IP的指令统称为转移指令。

转移指令分为一下几类。

(1)    无条件转移指令,比如,jmp(jump);

(2)    条件转移指令,比如,jcxz(jumpifCXiszero)、je(jumpifequal)、jb(jumpifbelow)、ja(jumpifabove)、jnb(jumpifnotbelow)、jna(jumpifnotabove)等;

(3)    循环指令,比如,loop;

(4)    过程,比如,call、ret(return)、retf(returnfar);

(5)    中断,比如,int(interrupt)、iret(interruptreturn)。

五、处理机控制指令

这些指令对标志寄存器或其他处理机状态进行设置,比如,cld(cleardirection)、std(setdirection)、cli(clearinterrupt)、sti(setinterrupt)、nop(nooperation)、clc(clearcarry)、cmc(carrymakechange)、stc(setcarry)、hlt(halt)、wait、esc(escape)、lock等都是处理机控制指令。

六、串处理指令

这些指令对内存中的批量数据进行处理,比如,movsb(movestringbyte)、movsw(movestringword)、cmps(comparestring)、scas(scanstring)、lods(loadstring)、stos(storestring)等。

若要使用这些指令方便地进行批量数据处理,则需要和rep(repeat)、repe(repeatifequal)、repne(repeatifnotequal)等前缀指令配合使用。

 

附:

8086CPU寄存器英文全称

1、通用寄存器

AX(accumulator)、BX(base)、CX(count)、DX(data)这些寄存器可以字(16位)或字节(8位)单位形式访问;

SP(stackpointer)、BP(basepointer)、SI(sourceindex)、DI(destinationindex),这些寄存器只能以字(16位)单位形式访问。

2、专用寄存器

IP(instructionpointer)、SP(stackpointer);;

FLAGS又称PSW(programstatusword)分为:

①    条件码

OF(overflow)、SF(sign)、ZF(zero)、CF(carry)、AF(auxiliary)、PF(parity)

②    控制标志

DF(direction)

③    系统标志位

TF(trap)、IF(interrupt)、IOPL(I/Oprivilegelevel)

3、段寄存器

CS(code)、DS(data)、SS(stack)、ES(extra)

汇编指令的英文全称

一、数据传送指令

1.通用数据传送指令.

MOV---->move

MOVSX---->extendedmovewithsigndata

MOVZX---->extendedmovewithzerodata

PUSH---->push

POP---->pop

PUSHA---->pushall

POPA---->popall

PUSHAD---->pushalldata

POPAD---->popalldata

BSWAP---->byteswap

XCHG---->exchange

CMPXCHG---->compareandchange

XADD---->exchangeandadd

XLAT---->translate

2.输入输出端口传送指令.

IN---->input

OUT---->output

3.目的地址传送指令.

LEA---->loadeffectiveaddress

LDS---->loadDS

LES---->loadES

LFS---->loadFS

LGS---->loadGS

LSS---->loadSS

4.标志传送指令.

LAHF---->loadAHfromflag

SAHF---->saveAHtoflag

PUSHF---->pushflag

POPF---->popflag

PUSHD---->pushdflag

POPD---->popdflag

二、算术运算指令

ADD---->add

ADC---->addwithcarry

INC---->increase1

AAA---->asciiaddwithadjust

DAA---->decimaladdwithadjust

SUB---->substract

SBB---->substractwithborrow

DEC---->decrease1

NEC---->negative

CMP---->compare

AAS---->asciiadjustonsubstract

DAS---->decimaladjustonsubstract

MUL---->multiplication

IMUL---->integermultiplication

AAM---->asciiadjustonmultiplication

DIV---->divide

IDIV---->integerdivide

AAD---->asciiadjustondivide

CBW---->changebytetoword

CWD---->changewordtodoubleword

CWDE---->changewordtodoublewordwithsigntoEAX

CDQ---->changedoublewordtoquadrateword

三、逻辑运算指令

AND---->and

OR---->or

XOR---->xor  ExclusiveOR

NOT---->not

TEST---->test

SHL---->shiftleft

SAL---->arithmaticshiftleft算术

SHR---->shiftright

SAR---->arithmaticshiftright

ROL---->rotateleft

ROR---->rotateright

RCL---->rotateleftwithcarry

RCR---->rotaterightwithcarry

四、串指令

MOVS---->movestring

CMPS---->comparestring

SCAS---->scanstring

LODS---->loadstring

STOS---->storestring

REP---->repeat

REPE---->repeatwhenequal

REPZ---->repeatwhenzeroflag

REPNE---->repeatwhennotequal

REPNZ---->repeatwhenzeroflag

REPC---->repeatwhencarryflag

REPNC---->repeatwhennotcarryflag

五、程序转移指令

1>无条件转移指令(长转移)

JMP---->jump

CALL---->call

RET---->return

RETF---->returnfar

2>条件转移指令(短转移,-128到+127的距离内)

JAE---->jumpwhenaboveorequal

JNB---->jumpwhennotbelow

JB---->jumpwhenbelow

JNAE---->jumpwhennotaboveorequal

JBE---->jumpwhenbeloworequal

JNA---->jumpwhennotabove

JG---->jumpwhengreater

JNLE---->jumpwhennotlessorequal

JGE---->jumpwhengreaterorequal

JNL---->jumpwhennotless

JL---->jumpwhenless

JNGE---->jumpwhennotgreaterorequal

JLE---->jumpwhenlessorequal

JNG---->jumpwhennotgreater

JE---->jumpwhenequal

JZ---->jumpwhenhaszeroflag

JNE---->jumpwhennotequal

JNZ---->jumpwhennothaszeroflag

JC---->jumpwhenhascarryflag

JNC---->jumpwhennothascarryflag

JNO---->jumpwhennothasoverflowflag

JNP---->jumpwhennothasparityflag

JPO---->jumpwhenparityflagisodd

JNS---->jumpwhennothassignflag

JO---->jumpwhenhasoverflowflag

JP---->jumpwhenhasparityflag

JPE---->jumpwhenparityflagiseven

JS---->jumpwhenhassignflag

3>循环控制指令(短转移)

LOOP---->loop

LOOPE---->loopequal

LOOPZ---->loopzero

LOOPNE---->loopnotequal

LOOPNZ---->loopnotzero

JCXZ---->jumpwhenCXiszero

JECXZ---->jumpwhenECXiszero

4>中断指令

INT---->interrupt

INTO---->overflowinterrupt

IRET---->interruptreturn

5>处理器控制指令

HLT---->halt

WAIT---->wait

ESC---->escape

LOCK---->lock

NOP---->nooperation

STC---->setcarry

CLC---->clearcarry

CMC---->carrymakechange

STD---->setdirection

CLD---->cleardirection

STI---->setinterrupt

CLI---->clearinterrupt

六、伪指令

DW---->definwword

PROC---->procedure

ENDP---->endofprocedure

SEGMENT---->segment

ASSUME---->assume

ENDS---->endsegment

END---->end

 

 

Move)

MOVC(MoveCode)

MOVX(MoveExternal)

XCH    (Exchange)

PUSH

POP

AJMP  (AbsoluteJump)

LJMP   (LongJump)

SJMP  (ShortJump)

JMP    (JumpIndirect)

JZ       (JumpZero)

JNZ    (JumpNotZero)

JC       (JumpifCarry)

JNC     (JumpifNotCarry)

JB        (JumpifBitisset)

JNB    (JumpifNotBit)

JBC      (IfBitissetandClearBit)

CJNE   (CompareandJumpifNotEqual)

DJNZ   (DecrementandJumpifNotZero)

ACALL(AbsoluteCall)

LCALL (LongCall)

RET      (Return)

NOP     (NoOperation)

ADD

ADDC (AddwithCarry)

SUBB  (SubstractwithBorrow)

MUL    (Multiply)

DIV      (Divide)

INC     (Increment)

DEC    (Decrement)

ANL    (LogicalAND)

ORL    (LogicalOR)

XRL    (LogicalExclusiveOR)

CPL    (Complement)

CLR    (Clear)

SEBT  (SetBit)

RL       (RotateLeft)

RR       (RotateRight)

RLC    (RotateLeftthroughttheCarryflag)

RRC    (RotateRightthroughttheCarryflag)

XCHD

SWAP

DA      (DecimalAdjust)

ORG   (Origin)

DB      (DefineByte)

DW     (DefineWord)

EQU    (Equal)

DATA

XDATA(ExternalData)

BIT

END



【本文地址】


今日新闻


推荐新闻


CopyRight 2018-2019 办公设备维修网 版权所有 豫ICP备15022753号-3